<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Calculatrice polonais inversé LO21:  Fichier source de /home/yuntux/UTC/GI02/LO21/projet/projet_propre/complexe.h</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Calculatrice polonais inversé LO21
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/yuntux/UTC/GI02/LO21/projet/projet_propre/complexe.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="complexe_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef COMPLEXE_H</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define COMPLEXE_H</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;<a class="code" href="constante_8h.html" title="Calculatrice en polonais inversé. Classe composite de gestion des constantes.">constante.h</a>&quot;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &quot;<a class="code" href="entier_8h.html" title="Calculatrice en polonais inversé. Classe Entier.">entier.h</a>&quot;</span>
<a name="l00019"></a>00019 
<a name="l00020"></a><a class="code" href="class_complexe.html">00020</a> <span class="keyword">class </span><a class="code" href="class_complexe.html">Complexe</a> : <span class="keyword">public</span> <a class="code" href="class_constante.html">Constante</a>{
<a name="l00021"></a>00021     <span class="comment">//attention _reel et _imaginaire doivent être de type constante</span>
<a name="l00022"></a>00022     <a class="code" href="class_constante.html">Constante</a>* _reelle;
<a name="l00023"></a>00023     <a class="code" href="class_constante.html">Constante</a>* _imaginaire;
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="keyword">public</span>:
<a name="l00026"></a><a class="code" href="class_complexe.html#af2cec56db6fdf59ed5ec761ffd4e1608">00026</a>     <a class="code" href="class_complexe.html#af2cec56db6fdf59ed5ec761ffd4e1608">Complexe</a>():_reelle(new <a class="code" href="class_entier.html">Entier</a>(0)), _imaginaire(new <a class="code" href="class_entier.html">Entier</a>(0)){}
<a name="l00027"></a>00027     <a class="code" href="class_complexe.html#af2cec56db6fdf59ed5ec761ffd4e1608">Complexe</a>(<a class="code" href="class_constante.html">Constante</a>* r, <a class="code" href="class_constante.html">Constante</a>* i);
<a name="l00028"></a>00028     <span class="keyword">virtual</span> <a class="code" href="class_complexe.html#ac92996231047d39d40e11384bb9311b6">~Complexe</a>();
<a name="l00029"></a>00029     <span class="keyword">virtual</span> QString <a class="code" href="class_complexe.html#a5141b5b092f78c06f60013e911ba4440">afficher</a>() <span class="keyword">const</span>;
<a name="l00030"></a><a class="code" href="class_complexe.html#a4441d56fc9776ce78efd8b5d95d9170b">00030</a>     <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a4441d56fc9776ce78efd8b5d95d9170b">getPartieReelle</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> _reelle;}
<a name="l00031"></a><a class="code" href="class_complexe.html#a9e3e38b5362dd83812da9235594d1fcc">00031</a>     <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a9e3e38b5362dd83812da9235594d1fcc">getPartieImaginaire</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> _imaginaire;}
<a name="l00032"></a><a class="code" href="class_complexe.html#a7e57ea7cf760e132c80a148e2c344cce">00032</a>     <span class="keywordtype">void</span> <a class="code" href="class_complexe.html#a7e57ea7cf760e132c80a148e2c344cce">setReelle</a>(<a class="code" href="class_constante.html">Constante</a>* re){_reelle=re;}
<a name="l00033"></a><a class="code" href="class_complexe.html#a2335ce4c53e2b11d4fa4bcbef45415ba">00033</a>     <span class="keywordtype">void</span> <a class="code" href="class_complexe.html#a2335ce4c53e2b11d4fa4bcbef45415ba">setImaginaire</a>(<a class="code" href="class_constante.html">Constante</a>* im){_imaginaire=im;}
<a name="l00034"></a>00034 
<a name="l00035"></a>00035     <a class="code" href="class_complexe.html#af2cec56db6fdf59ed5ec761ffd4e1608">Complexe</a>(<a class="code" href="class_constante.html">Constante</a>* c);
<a name="l00036"></a>00036     <span class="keywordtype">bool</span> <a class="code" href="class_complexe.html#a64fbf7a898e40d86cc0fb2be00c4bddf">reel_pur</a>() <span class="keyword">const</span>;
<a name="l00037"></a>00037     <span class="comment">//Complexe* conjugue(Complexe* c);</span>
<a name="l00038"></a>00038     <span class="comment">//Constante* module(Complexe* c);</span>
<a name="l00039"></a>00039     <span class="comment">//Constante* argument(Complexe* c);</span>
<a name="l00040"></a>00040 
<a name="l00041"></a>00041     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#adb3491a51a6b76d8e2c41ab87e519003">addition</a>(<a class="code" href="class_constante.html">Constante</a>* c);
<a name="l00042"></a>00042     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a921d9d4a3efcf108cb437b265cd65c10">produit</a>(<a class="code" href="class_constante.html">Constante</a> *c);
<a name="l00043"></a>00043     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a1a2f7b85999d542ebff0a9c0d082c1c8">division</a>(<a class="code" href="class_constante.html">Constante</a>* c);
<a name="l00044"></a>00044     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a97bb77958c4012ed113c54f895f91e85">signe</a>();
<a name="l00045"></a>00045     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a07d706446560190792339549752f9ea3">soustraction</a>(<a class="code" href="class_constante.html">Constante</a>* c);
<a name="l00046"></a>00046     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#afb48ef33e0289c8f05a959f83d9ec621">inv</a>();
<a name="l00047"></a>00047     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a0b0532339249783cee39f28670bb7504">fact</a>();
<a name="l00048"></a>00048     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a58574399ad50181f94c8f167916b9db9">sinus</a>(<span class="keywordtype">bool</span> angle);
<a name="l00049"></a>00049     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a5b659cad17efee687fb8a889aef5da09">cosinus</a>(<span class="keywordtype">bool</span> angle);
<a name="l00050"></a>00050     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a221161f63e9176b49eb74de70ef73d78">sinush</a>(<span class="keywordtype">bool</span> angle);
<a name="l00051"></a>00051     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a356e44404acabb3e6bd8228f746fc3f5">cosinush</a>(<span class="keywordtype">bool</span> angle);
<a name="l00052"></a>00052     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a7602a9b9ca6e17445207b3632ceba643">tangente</a>(<span class="keywordtype">bool</span> angle);
<a name="l00053"></a>00053     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a649a2ad523bfe715950e2e0f3b28213d">tangenteh</a>(<span class="keywordtype">bool</span> angle);
<a name="l00054"></a>00054     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a8adb5d883810b1fdbcfa230f32100408">logN</a>();
<a name="l00055"></a>00055     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#ada2cd39fae72dcf78fac8b361072b4e1">log1</a>();
<a name="l00056"></a>00056     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#aaebd8e53e61cdea5504fc8f9fa5d2523">puissance</a>(<a class="code" href="class_constante.html">Constante</a>* c);
<a name="l00057"></a>00057     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a7bbaa8c8695253acb93eb91eb1bd51c0">carre</a>();
<a name="l00058"></a>00058     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#a7026e226db2bb64a1ca5c014fa8b6f43">cube</a>();
<a name="l00059"></a>00059     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_complexe.html#ab7d41a46e8467b819afa76f658a12c01">racine</a>();
<a name="l00060"></a>00060 };
<a name="l00061"></a>00061 
<a name="l00062"></a>00062 <span class="preprocessor">#endif // COMPLEXE_H</span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Généré le Samedi Juin 16 2012 23:51:37 pour Calculatrice polonais inversé LO21 par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
